﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RingCast;
using Catalyst.Configuration;

namespace Testing
{
	class Program
	{
		static void Main(string[] args)
		{
			

			Country c = new Country("27824455566");
		
			List<Pipe> pipes = c.Pipes;
			//RingCast.GatewaysTable g; g.
			List<Pipe> pipes2 = Pipe.All().ToList();

			////IQueryable<Message> messages = pipes[0].Messages;

			IList<Message> messages = pipes[0].Messages.ToList();

			//Console.WriteLine(list.Count.ToString());

			DatabaseElementCollection databases = ConfigurationManager.Databases;

			//foreach (DatabaseElement x in databases)
			//{
			//    EnumTableElementCollection y = x.EnumTables;
			//}

			Console.ReadLine();
		}
	}
}
